package com.hydra.base.annotations;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface ControllerLog {

    /**
     * 是否启用日志
     */
    boolean enable() default true;

}
